#!/user/bin/env node

const log = console.log,
      fs = require('fs'),
      file = process.argv[2] || __dirname;

try{
  console.log(fs.readdirSync(file));
}catch(e){
  console.error(e.message);
  process.exit(1);
}
